package org.dzl.springboot001.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 光的代言人
 */
@Data
@Component
@ConfigurationProperties(prefix = "url")
public class MyUrl {
    private String orderUrl;
    private String userUrl;
    private String shoppingUrl;
    // 省去get和set方法
}